Skip to content

Add active/inactive layer styles and update row class logic for selection feedback#234

Draft
arneschmid wants to merge 1 commit into
mainfrom
poc/ui-dim-other-components
Draft

Add active/inactive layer styles and update row class logic for selection feedback#234
arneschmid wants to merge 1 commit into
mainfrom
poc/ui-dim-other-components

Conversation

@arneschmid
Copy link
Copy Markdown
Collaborator

To prevent confusion for selected/selectable components, dimming a component row depends now on how the component can be interacted with.

Components selected in the current layer or not selected at all, are selectable and therefore enabled.

Components selected in a layer other than the current aren't selectable for this layer and therefore disabled. A disabled component must be visually disabled, as well.

Fixes

Changes

Screenshots

Dark Theme Light Theme
Components Components
image image
Software Packs Software Packs
image image

Checklist

  • 🤖 This change is covered by unit tests (if applicable).
  • 🤹 Manual testing has been performed (if necessary).
  • 🛡️ Security impacts have been considered (if relevant).
  • 📖 Documentation updates are complete (if required).
  • 🧠 Third-party dependencies and TPIP updated (if required).

@github-actions
Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@qltysh
Copy link
Copy Markdown

qltysh Bot commented Apr 30, 2026

Qlty


Coverage Impact

This PR will not change total coverage.

Modified Files with Diff Coverage (2)

RatingFile% DiffUncovered Line #s
Coverage rating: F Coverage rating: F
...age-components-packs/view/helpers/components-packs-helpers.tsx100.0%
Coverage rating: D Coverage rating: D
src/views/manage-components-packs/view/components/packs-view.tsx100.0%
Total100.0%
🚦 See full report on Qlty Cloud »

🛟 Help
  • Diff Coverage: Coverage for added or modified lines of code (excludes deleted files). Learn more.

  • Total Coverage: Coverage for the whole repository, calculated as the sum of all File Coverage. Learn more.

  • File Coverage: Covered Lines divided by Covered Lines plus Missed Lines. (Excludes non-executable lines including blank lines and comments.)

    • Indirect Changes: Changes to File Coverage for files that were not modified in this PR. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant